﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace JustAMinute
{
    public partial class GameOverForm : Form
    {
        public GameOverForm(string header, string text)
        {
            InitializeComponent();
            this.Text = header;
            textLabel.Text = text;
            this.TopMost = true;
            this.StartPosition = FormStartPosition.CenterScreen;
        }

        private void GameOverForm_Load(object sender, EventArgs e)
        {
           
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.Owner.Close();
            this.Close();
            
        }

       
    }
}
